
export const MOCK_DEFAULT_PARTITION = {
  id: "aws",
  regionRegex: "mockDefaultRegionRegex",
  regions: {
    "mock-region-1": {
      dnsSuffix: "mockRegion1DnsSuffix",
      dualStackDnsSuffix: "mockRegion1DualStackDnsSuffix",
    },
    "mock-region-2": {},
  },
  outputs: {
    name: "aws",
    dnsSuffix: "mockDefaultDnsSuffix",
    dualStackDnsSuffix: "mockDefaultDualStackDnsSuffix",
    supportsFIPS: false,
    supportsDualStack: false,
  },
};

export const MOCK_PARTITION = {
  id: "partitionId",
  regionRegex: "mockRegionRegex",
  regions: {},
  outputs: {
    name: "partitionId",
    dnsSuffix: "mockPartitionDnsSuffix",
    dualStackDnsSuffix: "mockPartitionDualStackDnsSuffix",
    supportsFIPS: true,
    supportsDualStack: true,
  },
};


export const combineObject = (obj1:Object,obj2?:Object)=>{
  if (obj2){
    return{
      ...obj1,
      ...obj2
    }
  }else {
    return {
      ...obj1
    }
  }
}
